import {SETTOKEN,ADDCOUNTER,REDUCECOUNTER} from './mutation-type'
export default {
    [SETTOKEN](state,payload){
        state.loginToken=payload
      },
      // 购物车中的件数
      [ADDCOUNTER](state){
        state.counter++;
      },
      [REDUCECOUNTER](state){
        state.counter--;
      }
      
}